﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using mscook.core.domain;

namespace mscook.core.services
{
    public interface IResourceBonusSettingService
    {
        //ResourceBonusSetting SelectByResourceId(string resourceId);
        IList<ResourceBonusSetting> SelectAll();
        IList<ResourceBonusSetting> SelectByAriticKey(string year, string month);
        IList<ResourceBonusSetting> SelectByAriticKeyAndType(string year, string month, PurchasedCategory purchasedCategory);
        ResourceBonusSetting SelectByResourceId(string resourceId);
        void SaveOrUpdate(ResourceBonusSetting resourceBonusSetting);
        void Delete(string id);
    }
}
